﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using VanTaiData;
using VanTaiProperty;
namespace VanTaiBLL
{
    public class clsBusiness_TMCommandTransferOrder
    {
        public static TMCommandTransferOrder_Controller cls = new TMCommandTransferOrder_Controller();
        #region[Get-Data]
        public DataTable BindGridTM_CommandTransferOrder()
        {
            return cls.BindGridTM_CommandTransferOrder();
        }
        public DataTable BindGridTM_TMCommandTransferOrder_Detail_Edit(int id)
        {
            return cls.BindGridTM_TMCommandTransferOrder_Detail_Edit(id);
        }
        public DataTable BindGridTM_Log(string keywords)
        {
            return cls.BindGridTM_Log(keywords);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertTMCommandTransferOrde(VanTaiProperty.clsTMCommandTransferOrderProperty obj)
        {
            return cls.InsertTMCommandTransferOrde(obj);
        }
        public static bool InsertSaleReport(VanTaiProperty.clsTMCommandTransferOrderProperty obj)
        {
            return cls.InsertSaleReport(obj);
        }
        public static bool UpdateTMCommandTransferOrde(VanTaiProperty.clsTMCommandTransferOrderProperty obj)
        {
            return cls.UpdateTMCommandTransferOrde(obj);
        }
        public static bool DeleteTMCommandTransferOrder(int id)
        {
            return cls.DeleteTMCommandTransferOrder(id);
        }
        public static bool UpdateTMCommandTransferOrdeStatusMem(VanTaiProperty.clsTMCommandTransferOrderProperty obj)
        {
            return cls.UpdateTMCommandTransferOrdeStatusMem(obj);
        }
        public static bool UpdateTMCommandTransferOrdeStatusLeadership(VanTaiProperty.clsTMCommandTransferOrderProperty obj)
        {
            return cls.UpdateTMCommandTransferOrdeStatusLeadership(obj);
        }
        public bool TMCommandTransferOrder_Check_Delete_TMSalesReport(int id)
        {
            return cls.TMCommandTransferOrder_Check_Delete_TMSalesReport(id);
        }
        public static bool TMCommandTransferOrder_Update_Stt(VanTaiProperty.clsTMCommandTransferOrderProperty obj)
        {
            return cls.TMCommandTransferOrder_Update_Stt(obj);
        }
        #endregion

        #region[Search-Fillter]
        public DataTable TMCommandTransferOrde_Fillter_Date(string DateBegin, string EndBegin)
        {
            return cls.TMCommandTransferOrde_Fillter_Date(DateBegin, EndBegin);
        }
        public DataTable TMCommandTransferOrde_Fillter(string status)
        {
            return cls.TMCommandTransferOrde_Fillter(status);
        }
        public DataTable Search(string keywords)
        {
            return cls.Search(keywords);
        }
        #endregion
    }
}
